package com.lanren.familybookapp.ui.table.interfaces;

import com.lanren.common.base.IView;
import com.lanren.familybookapp.ui.table.bean.InOutStatisticsBean;
import com.lanren.familybookapp.ui.table.bean.TotalStaticsBean;

/**
 * @ClassName IMeModel
 * @Description TODO
 * @Author chongheng.wang
 * @Date 2019/10/5 17:01
 * @Version 1.0
 */
public interface ITableModel {
    interface ITableView extends IView {
        void onSuccessTotal(TotalStaticsBean totalStaticsBean);

        void onSuccessStatics(InOutStatisticsBean inOutStatisticsBean);
    }

    interface TableTotalModel {
        void onError(int code, String msg);

        void onSuccess(TotalStaticsBean totalStaticsBean);
    }

    interface TableStaticsModel {
        void onError(int code, String msg);

        void onSuccess(InOutStatisticsBean inOutStatisticsBean);
    }
}
